package com.ktgj.flight.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.flight.mapper.FlightRevisecabinpriceIdMapper;
import com.ktgj.flight.domain.FlightRevisecabinpriceId;
import com.ktgj.flight.service.IFlightRevisecabinpriceIdService;

/**
 * 直降产品会员idService业务层处理
 * 
 * @author ruoyi
 * @date 2022-06-07
 */
@Service
public class FlightRevisecabinpriceIdServiceImpl implements IFlightRevisecabinpriceIdService 
{
    @Autowired
    private FlightRevisecabinpriceIdMapper flightRevisecabinpriceIdMapper;

    /**
     * 查询直降产品会员id
     * 
     * @param id 直降产品会员idID
     * @return 直降产品会员id
     */
    @Override
    public FlightRevisecabinpriceId selectFlightRevisecabinpriceIdById(Long id)
    {
        return flightRevisecabinpriceIdMapper.selectFlightRevisecabinpriceIdById(id);
    }

    /**
     * 查询直降产品会员id列表
     * 
     * @param flightRevisecabinpriceId 直降产品会员id
     * @return 直降产品会员id
     */
    @Override
    public List<FlightRevisecabinpriceId> selectFlightRevisecabinpriceIdList(FlightRevisecabinpriceId flightRevisecabinpriceId)
    {
        return flightRevisecabinpriceIdMapper.selectFlightRevisecabinpriceIdList(flightRevisecabinpriceId);
    }

    /**
     * 新增直降产品会员id
     * 
     * @param flightRevisecabinpriceId 直降产品会员id
     * @return 结果
     */
    @Override
    public int insertFlightRevisecabinpriceId(FlightRevisecabinpriceId flightRevisecabinpriceId)
    {
        return flightRevisecabinpriceIdMapper.insertFlightRevisecabinpriceId(flightRevisecabinpriceId);
    }

    /**
     * 修改直降产品会员id
     * 
     * @param flightRevisecabinpriceId 直降产品会员id
     * @return 结果
     */
    @Override
    public int updateFlightRevisecabinpriceId(FlightRevisecabinpriceId flightRevisecabinpriceId)
    {
        return flightRevisecabinpriceIdMapper.updateFlightRevisecabinpriceId(flightRevisecabinpriceId);
    }

    /**
     * 批量删除直降产品会员id
     * 
     * @param ids 需要删除的直降产品会员idID
     * @return 结果
     */
    @Override
    public int deleteFlightRevisecabinpriceIdByIds(Long[] ids)
    {
        return flightRevisecabinpriceIdMapper.deleteFlightRevisecabinpriceIdByIds(ids);
    }

    /**
     * 删除直降产品会员id信息
     * 
     * @param id 直降产品会员idID
     * @return 结果
     */
    @Override
    public int deleteFlightRevisecabinpriceIdById(Long id)
    {
        return flightRevisecabinpriceIdMapper.deleteFlightRevisecabinpriceIdById(id);
    }
}
